
import requests

HEADER = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) '
                  'AppleWebKit/537.36 (KHTML, like Gecko) '
                  'Chrome/103.0.0.0 Safari/537.36'
}
URL = 'https://www.baidu.com/s'

DATA = {
    'wd': 'blueShout'
}

response = requests.get(url=URL, headers=HEADER, params=DATA)
response.encoding = 'UTF-8'
print(response.text)



